﻿<tr class="tr_<?php echo $data->article_id; ?>">
	<td><?php echo $data->article_id; ?></td>
	<td class="name"><a href="<?php echo Yii::app()->createUrl('blogdetail/index',array('article'=>$data->article_id)) ; ?>"><?php echo $data->article_title;?></a></td>
	<td><?php echo $data->browse_number;?></td>
	<td><?php echo $data->comment_number;?></td>
	<td><?php echo CHtml::encode($data->sortName['sort_name']);?></td>
	<td><?php echo $data->article_createtime;?></td>
	<?php if($data->article_status==1)
		{
	?>
	<td><a href='javascript:void(0)' onclick="Curd(<?php echo $data->article_id; ?>,'trash')">删除</a></td>
	<?php 
		}else if($data->article_status==0){
	?>
		<td><a href='javascript:void(0)' onclick="Curd(<?php echo $data->article_id; ?>,'trash')">删除</a></td>
		<td><a href='javascript:void(0)' onclick="Curd(<?php echo $data->article_id; ?>,'autited')">审核</a></td>
	<?php
		}else{
	?>
		<td><a href='javascript:void(0)' onclick="Curd(<?php echo $data->article_id; ?>,'delete')">彻底删除</a></td>
		<td><a href='javascript:void(0)' onclick="Curd(<?php echo $data->article_id; ?>,'recover')">还原</a></td>
	<?php
		}
	?>
</tr>